#ifndef MODELMANAGER_H
#define MODELMANAGER_H

extern struct IDirect3DDevice9* d3ddev;

#include <vector>
#include "Mesh.h"
#include "Util.h"
#include "Drawable.h"

using namespace std;

class ModelManager {

	private:
		int id;
		vector<Mesh*> models;

	public:

		ModelManager();
		ModelManager(int);
		~ModelManager();

		vector<Mesh*> getModels();
		Mesh*         getModel(EModel model);

		void init();
		void addModel(Mesh *mesh);
		void setModels(vector<Mesh*> models);
		void drawModel(Drawable* drawableObject);
		void drawCity();
		void release();
		void loadModel(LPCWSTR);

};

#endif
